import { useState } from "react"



function App() {

  type User = {
    name: string,
    age: number
  }

  const [value, setValue] = useState<User>({
    name: 'jack',
    age: 5
  })


  return (
    <>
      <div>
        this is app
        {JSON.stringify(value)}
      </div>
    </>
  )
}

export default App
